package com.codemart.lanze.modules.cms.entity;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.TableName;
import com.codemart.lanze.common.base.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 站点
 * @Author: lanze
 * @Date: 2019-09-13
 * @Version: V1.0
 */
@Data
@TableName("tb_site")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "tb_site对象", description = "站点")
public class Site extends BaseEntity<Site> {

	private static final long serialVersionUID = 1L;

	/** 站点名称 */
	@ApiModelProperty(value = "站点名称")
	private java.lang.String name;

	/** 简称 */
	@ApiModelProperty(value = "简称")
	private java.lang.String simpleName;

	/** seoTitle */
	@ApiModelProperty(value = "seoTitle")
	private java.lang.String seoTitle;

	/** 关键字 */
	@ApiModelProperty(value = "关键字")
	private java.lang.String seoKeyword;

	/** 描述 */
	@ApiModelProperty(value = "描述")
	private java.lang.String seoDescription;

	/** 域名 */
	@ApiModelProperty(value = "域名")
	private java.lang.String domain;

	/** port */
	@ApiModelProperty(value = "port")
	private java.lang.String port;

	/** 资源路径 */
	@ApiModelProperty(value = "资源路径")
	private java.lang.String sourcePath;

	/** 访问路径 */
	@ApiModelProperty(value = "访问路径")
	private java.lang.String path;

	/** 版权 */
	@ApiModelProperty(value = "版权")
	private java.lang.String copyright;

	/** 备案号 */
	@ApiModelProperty(value = "备案号")
	private java.lang.String recordNumber;

	/** LOGO */
	@ApiModelProperty(value = "LOGO")
	private java.lang.String logo;

	/** 协议 */
	@ApiModelProperty(value = "协议")
	private java.lang.Integer protocol;

	/** 静态后缀 */
	@ApiModelProperty(value = "静态后缀")
	private java.lang.Integer postfix;

	/** 是否主站 */
	@ApiModelProperty(value = "是否主站")
	private java.lang.Integer isMaster;

	/** author */
	@ApiModelProperty(value = "author")
	private java.lang.String author;

	/** createTime */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "createTime")
	private java.util.Date createTime;

	/** status */
	@ApiModelProperty(value = "status")
	private java.lang.Integer status;

}
